<?php

require_once("cal/source/activecalendar.php");

//$myurl = $_SERVER['PHP_SELF']."?css=".@$_GET['css']; // the links url is this page
$myurl = "";
$yearID = false; // init false to display current year
$monthID = false; // init false to display current month
$dayID = false; // init false to display current day
extract($_GET); // get the new values (if any) of $yearID,$monthID,$dayID
$arrowBack = "Prev"; // use png arrow back
$arrowForw = "Next"; // use png arrow forward
$cal = new activeCalendar($yearID,$monthID,$dayID);
$cal->enableMonthNav($myurl,$arrowBack,$arrowForw); // enables navigation controls
